<!-- 
	缴获物品-枪支弹药表
 -->
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	template="/layout/page/form/page-fieldset-template.xhtml"
    xmlns:sinox="http://www.sinosoft.com.cn/sinox">

    <ui:param name="pvb" value="#{commonContentViewBean.parent}"/>
	<ui:param name="compViewBean" value="#{commonContentViewBean}" />
	<ui:param name="compTitle" value="缴获物品-枪支弹药" />
	<ui:param name="compId" value="#{compViewBean.id}" />
	<!-- 缴获物品-枪支弹药表 -->
	<ui:define name="compHiddens">
	</ui:define>
	<ui:define name="compContent">
	<ui:decorate template="/layout/input/editable-template.xhtml">
	     <!-- 第一行 -->
	     <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="caseid" />
				<ui:param name="compBean1Lable" value="案件编号" />	
				<ui:define name="compBean1Content">
					 <h:inputText id="caseid" value=" " />
				</ui:define>
		 </ui:decorate>
		 <!-- 第二行 -->
		  <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="gunType" />
				<ui:param name="compBean1Lable" value="枪    型" />
				<ui:param name="compBean2Id" value="gunNum" />
				<ui:param name="compBean2Lable" value="枪   号" />		
				<ui:define name="compBean1Content">
					 <sinox:codeSetInputTree id="firearmtype" codeSetId="id_c_qzdyzl" value="" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
				<ui:define name="compBean2Content">
					 <h:inputText id="gunNum" value=" " />
				</ui:define>
		 </ui:decorate>
		 <!-- 第三行 -->
		  <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="startNum" />
				<ui:param name="compBean1Lable" value="号     码" />
				<ui:param name="compBean2Id" value="endNum" />
				<ui:param name="compBean2Lable" value="至 " />		
				<ui:define name="compBean1Content">
                    <h:inputText id="startNum" value=" " />
				</ui:define>
				<ui:define name="compBean2Content">
					 <h:inputText id="endNum" value=" " />
				</ui:define>
		 </ui:decorate>
		 <!-- 第四行 -->
		  <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="bulletClass" />
				<ui:param name="compBean1Lable" value="子弹种类" />
				<ui:param name="compBean2Id" value="bulletNum" />
				<ui:param name="compBean2Lable" value="子弹数量 " />		
				<ui:define name="compBean1Content">
					<h:selectOneMenu value="">
                	  <f:selectItem itemLabel="请选择" itemValue="0" />
                    </h:selectOneMenu>
				</ui:define>
				<ui:define name="compBean2Content">
					 <h:inputText id="bulletNum" value=" " />
				</ui:define>
		 </ui:decorate>
		 <!-- 第五行 -->
		 <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="oldArchives" />
				<ui:param name="compBean1Lable" value="旧枪弹痕迹档案号" />
				<ui:param name="compBean2Id" value="newArchives" />
				<ui:param name="compBean2Lable" value="新枪弹痕迹档案号 " />		
				<ui:define name="compBean1Content">
					<h:inputText id="oldArchives" value=" " />
				</ui:define>
				<ui:define name="compBean2Content">
					 <h:inputText id="newArchives" value=" " />
				</ui:define>
		 </ui:decorate>
		  <!-- 第六行 -->
		  <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="huntUntil" />
				<ui:param name="compBean1Lable" value="查获单位" />
				<ui:param name="compBean2Id" value="huntMen" />
				<ui:param name="compBean2Lable" value="查 获 人" />		
				<ui:define name="compBean1Content">
					 <h:inputText id="huntUntil" value=" " />
				</ui:define>
				<ui:define name="compBean2Content">
					 <h:inputText id="huntMen" value=" " />
				</ui:define>
		  </ui:decorate>
		 <!-- 第七行 -->
		  <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="huntDate" />
				<ui:param name="compBean1Lable" value="查获日期" />
				<ui:param name="compBean2Id" value="processMode" />
				<ui:param name="compBean2Lable" value="处理方式" />		
				<ui:define name="compBean1Content">
					 <p:calendar id="huntDate" pattern="yyyy-MM-dd" />
				</ui:define>
				<ui:define name="compBean2Content">
					 <h:inputText id="processMode" value=" " />
				</ui:define>
		  </ui:decorate>
		<!-- 第八行 -->
		   <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="yesOrNo" />
				<ui:param name="compBean1Lable" value="是否建档" />	
				<ui:define name="compBean1Content">
				    <p:selectOneRadio value="">
					    <f:selectItem itemLabel="否" itemValue="1" />
					    <f:selectItem itemLabel="是" itemValue="0" />
					</p:selectOneRadio>     
				</ui:define>
		 </ui:decorate>
		 <!-- 第九行 -->
		   <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="remark" />
				<ui:param name="compBean1Lable" value="备   注" />	
				<ui:define name="compBean1Content">
				    <h:inputTextarea style="width:700px;height:100px;overflow:auto;" effectDuration="400" value="" />
				</ui:define>
		  </ui:decorate>
	</ui:decorate>
	</ui:define>

	<ui:define name="compButtons">
				<p:commandButton
					title="保存"
					onstart="this.disabled=true"
					image="./img/icons/add.png" value="保存" style="margin:5px;"
					>
					<h:inputHidden value="" />
				</p:commandButton>
				<p:commandButton title="重置" image="ui-icon-disk" value="重置"></p:commandButton>
			</ui:define>
</ui:composition>